package com.chencs.biz.category.mapper;

import com.chencs.vo.biz.category.CategoryItemModel;
import com.chencs.vo.biz.category.CategoryModel;
import com.chencs.vo.biz.category.TaoBaoCategoryModel;

import java.util.List;

/**
 * Created by fangzehua on 2017/7/4.
 */

public interface CategoryMapper {

    List<CategoryModel> getCategoryList();

    List<TaoBaoCategoryModel> getTaoBaoCategoryList();

    CategoryModel findCategoryById(String id);

    void insertCategory(CategoryModel categoryModel);

    void updateCategory(CategoryModel categoryModel);

    void delTaoBaoCategoryById(String id);

    void updateaoBaoCategory(TaoBaoCategoryModel model);

    List<CategoryItemModel> getCategoryItemByCid(String cid);

    void insertCategoryItem(CategoryItemModel categoryItemModel);

    void updateCategoryItem(CategoryItemModel categoryItemModel);

    CategoryItemModel findCategoryItemModelById(String id);




}
